Move signal.h and stdio.h before config.h.
authorRichard M. Stallman <rms@gnu.org>
Sun, 23 May 1993 18:09:41 +0000 (18:09 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 23 May 1993 18:09:41 +0000 (18:09 +0000)
src/xterm.c

index 0e57e96d67189138b5a533d2cd51298d98cf9461..acb141f2a39f75ec3bfc7bebd3810ca17d769aa3 100644 (file)
@@ -27,6 +27,12 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
 
 #define NEW_SELECTIONS
 
+/* On 4.3 these lose if they come after xterm.h.  */
+/* On HP-UX 8.0 signal.h loses if it comes after config.h.  */
+/* Putting these at the beginning seems to be standard for other .c files.  */
+#include <stdio.h>
+#include <signal.h>
+
 #include "config.h"
 
 #ifdef HAVE_X_WINDOWS
@@ -34,10 +40,6 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
 #include "lisp.h"
 #include "blockinput.h"
 
-/* On 4.3 these lose if they come after xterm.h.  */
-#include <stdio.h>
-#include <signal.h>
-
 /* This may include sys/types.h, and that somehow loses
    if this is not done before the other system files.  */
 #include "xterm.h"